Repository navigation
release: void sibling refs with the pyautolabs-bot App, no extraheader plumbing (token phase 2b) - #31
Merged
Conversation
…r plumbing (token phase 2b) void.yml mints an owner-wide App token (contents write) for sibling-repo deletes; git reaches it through `gh auth setup-git` from an empty scratch repo. The GIT_CONFIG_KEY_0 extraheader plumbing, its base64/mask handling, the global-extraheader guard and the "skipped: no PAT" fallback are removed: a mint failure fails the run. Own-repo deletes stay on github.token. New workflow_dispatch `dry_run` input runs only a `probe` job: same plan, same token, ls-remote + push --dry-run --delete per due sibling ref; deletes, comments and closes nothing. Board text, tests, README and AGENTS updated. Refs PyAutoLabs/PyAutoBrain#534 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Token consolidation phase 2b (PyAutoLabs/PyAutoBrain#534):
void.ymldeletes refs held on sibling repos with a one-hour, owner-widepyautolabs-botApp token (contents write) instead ofPAT_PYAUTOLABS. git gets it throughgh auth setup-gitfrom an empty scratch repo. Removed: theGIT_CONFIG_KEY_0extraheader/base64 plumbing, the masks, the global-extraheader guard, and the "skipped: no PAT" silent path. A token that cannot be minted now fails the run. Own-repo deletes still usegithub.token.New
workflow_dispatchdry_runinput runs a separateprobejob only. It builds the same plan, mints the same token and runsls-remote+push --dry-run --deletefor every due sibling ref. It deletes, comments and closes nothing. Board text (scripts/board.py), tests, README and AGENTS no longer describe the PAT or "a repo born after the PAT was minted".API Changes
None (workflow auth change).
APP_CLIENT_ID, org secretAPP_PRIVATE_KEY.secrets.PAT_PYAUTOLABS.Test Plan
pytest tests: 26 passedHeart YELLOW acknowledged by the human before PR-open (manifest drift on one workspace checkout; PyAutoLens release validation stale — both unrelated to this change).
Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code